package com.ty.feignclients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(url = "https://www.baidu.com", name = "baidu")
//http://nacos-a/api/a
//http://192.168.17.59:8080/api/a
// 字符串
public interface BaiduClient {

    @GetMapping()
    String home();
}


